﻿namespace YDT_UserService.Applictions.DTOs
{
    /// <summary>
    /// 用户数据传输对象 - 用于API返回，不包含敏感信息
    /// </summary>
    public class UserDto
    {
        public Guid Id { get; set; }
        /// <summary>用户名</summary>
        public string UserName { get; set; } = string.Empty;
        /// <summary>用户昵称</summary>
        public string UserNickname { get; set; } = string.Empty;
        /// <summary>用户QQ</summary>
        public string UserQQ { get; set; } = string.Empty;
        /// <summary>创建时间</summary>
        public DateTime CreateTime { get; set; }
        /// <summary>用户手机号</summary>
        public string UserPhone { get; set; } = string.Empty;
        /// <summary>更新时间</summary>
        public DateTime UpdateTime { get; set; }
        /// <summary>用户状态</summary>
        public string Status { get; set; } = string.Empty;
        /// <summary>最后登录时间</summary>
        public DateTime? LastLoginTime { get; set; }
    }
}
